package game.metalmax.module.system
{
	import showtime.framework.core.pattern.Singleton;
	
	public class SystemManager extends Singleton
	{
		public function SystemManager()
		{
			
		}
		
		public static function getInstance():SystemManager
		{
			return SystemManager(Singleton.getInstanceOrCreate(SystemManager));
		}
		
		override protected function initialize():void
		{
			super.initialize();
		}
		
		
		/**
		 *
		 * 脚本类型: 1,角色添加 2,触发对话 3,触发剧情 4,触发战斗
		 *  
		 * @param scriptID
		 * 
		 */		
		public function executeScript(scriptID:int, scriptType:int):void
		{
			switch (scriptID)
			{
				case 1:
				{
					
					break;
				}
				case 2:
				{
					break;
				}
				default:
				{
					trace("不存在脚本ID");
				}
			}
		}
		
	}
}